Skip to content

fix: replace deprecated path parameter in pytest_ignore_collect#11

Open
hrnciar wants to merge 1 commit into
ionelmc:masterfrom
hrnciar:pytest9-fix
Open

fix: replace deprecated path parameter in pytest_ignore_collect#11
hrnciar wants to merge 1 commit into
ionelmc:masterfrom
hrnciar:pytest9-fix

Conversation

@hrnciar
Copy link
Copy Markdown

@hrnciar hrnciar commented Mar 25, 2026

The (path: py.path.local) argument was removed in pytest 9, replaced by (collection_path: pathlib.Path). Update parameter name and use pathlib.Path.name instead of py.path.local.basename.

Made-with: Cursor

The (path: py.path.local) argument was removed in pytest 9, replaced
by (collection_path: pathlib.Path). Update parameter name and use
pathlib.Path.name instead of py.path.local.basename.

Made-with: Cursor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant